package com.zhuangjie.generator.generators.code;

import com.baomidou.mybatisplus.generator.FastAutoGenerator;
import com.zhuangjie.generator.generators.code.generator.CodeGeneratorBuilder;

/**
 * Mybatis-Plus MVC代码生成入口
 *
 * @author zhuangjie
 * @date 2023/11/25
 * @since 2018/12/13
 */
public class MVCCodeGeneratorRun {

    public static void main(String[] args) {
        CodeGeneratorBuilder codeGeneratorBuilder = new CodeGeneratorBuilder(new CodeGeneratorBuilder.DBConfig("127.0.0.1",3308,"root", "3333"), "com.zhuangjie");
        FastAutoGenerator generator = codeGeneratorBuilder.getGenerator("zhuangjie", "demo", "demo","");
        generator.execute();
    }

}